package cn.jzq.demo.service;

import cn.jzq.demo.entity.GeneralStudent;
import cn.jzq.demo.form.StudentForm;
import com.baomidou.mybatisplus.service.IService;
import org.springframework.cache.annotation.CachePut;
import org.springframework.cache.annotation.Cacheable;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jzq
 * @since 2018-05-22
 */
public interface IGeneralStudentService extends IService<GeneralStudent> {
    GeneralStudent getStudentByStuNo(String stuNo);

    GeneralStudent getTest(String stuNo);

    List<GeneralStudent> listStudent();

    List<GeneralStudent> listStudentPage(Long pageNum, Long paramSize);

    /**
     * 更新学生
     * @param form
     */
    void updateStudent(Integer id, StudentForm form);

    void insertStudent(GeneralStudent student);

    void saveBatch();
}
